/** \file This file contains the functions that help know information about the user when he logs in the sytem.
*/

#define NEW_USER -27
#define NOT_A_USER -1

/**     \brief This function authenticates the user if he is allowed to use the tool and updates when he last accessed the tool. 
*	Should be further integrated to allow gmail authentication. However, due to time limitation I decided to focus on program functionality
*       \param Email String containing the user's email
*       \return -1 iff NOT A USER, -27 iff NEW USER and thus will be needed to register his account or ID!=(-1 || -27) if he is a user in the system
*/
int AuthenticateUser(std::string Email);

/**     \brief Checks if the user is a manager to give him special privilidges like setting up a project 
*       \param Email String containing the user's email
*       \return boolean variable TRUE iff user is a manager else false
*/
bool IsManager(std::string Email);
